<?php
namespace App\Record\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 订单记录Dto （导入导出）
 */
#[ExcelData]
class RecordPaymentOrderDto implements MineModelExcel
{
    #[ExcelProperty(value: "id", index: 0)]
    public string $id;

    #[ExcelProperty(value: "订单号", index: 1)]
    public string $order_sn;

    #[ExcelProperty(value: "第三方支付单号", index: 2)]
    public string $transaction_id;

    #[ExcelProperty(value: "用户ID", index: 3)]
    public string $user_id;

    #[ExcelProperty(value: "优惠券ID", index: 4)]
    public string $coupon_id;

    #[ExcelProperty(value: "订单金额(分)", index: 5)]
    public string $money;

    #[ExcelProperty(value: "折扣金额(分)", index: 6)]
    public string $discount;

    #[ExcelProperty(value: "实付金额(分)", index: 7)]
    public string $fact_money;

    #[ExcelProperty(value: "到账金额", index: 8)]
    public string $received_amount;

    #[ExcelProperty(value: "支付方式", index: 9)]
    public string $method_id;

    #[ExcelProperty(value: "ip", index: 10)]
    public string $ip;

    #[ExcelProperty(value: "业务ID", index: 11)]
    public string $biz_id;

    #[ExcelProperty(value: "业务类型1充值钻石", index: 12)]
    public string $biz_type;

    #[ExcelProperty(value: "订单完成时间", index: 13)]
    public string $complete_time;

    #[ExcelProperty(value: "订单超时时间", index: 14)]
    public string $expire_time;

    #[ExcelProperty(value: "支付成功时间", index: 15)]
    public string $pay_time;

    #[ExcelProperty(value: "订单状态(0刚下单,1.已回调,2.支付成功,3.订单已关闭)", index: 16)]
    public string $status;

    #[ExcelProperty(value: "所属代理", index: 17)]
    public string $created_by;

    #[ExcelProperty(value: "创建时间", index: 18)]
    public string $create_time;

    #[ExcelProperty(value: "更新时间", index: 19)]
    public string $update_time;


}